home *** CD-ROM | disk | FTP | other *** search
/ Geek Games #12 / GEGA012.iso / Jogos de Azar / 599.swf / scripts / DefineButton2_106 / BUTTONCONDACTION on(release).as next >
Text File  |  2006-01-17  |  480b  |  35 lines

  1. on(release){
  2.    tellTarget("/sounds")
  3.    {
  4.       gotoAndStop("toc");
  5.       play();
  6.    }
  7.    if(help)
  8.    {
  9.       tellTarget("/help")
  10.       {
  11.          prevFrame();
  12.       }
  13.    }
  14.    else if(risc)
  15.    {
  16.       colr = "b";
  17.       call("verif");
  18.    }
  19.    else
  20.    {
  21.       bet -= "1";
  22.       if(bet < "1")
  23.       {
  24.          bet = "1";
  25.       }
  26.       if(firstTime)
  27.       {
  28.          tellTarget("/afis")
  29.          {
  30.             call("bet");
  31.          }
  32.       }
  33.    }
  34. }
  35.